{"ast":null,"code":"import { TinyColor } from '@ctrl/tinycolor';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { genFocusStyle, resetComponent } from '../../style';\nconst genSwitchSmallStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const switchInnerCls = `${componentCls}-inner`;\n  return {\n    [componentCls]: {\n      [`&${componentCls}-small`]: {\n        minWidth: token.switchMinWidthSM,\n        height: token.switchHeightSM,\n        lineHeight: `${token.switchHeightSM}px`,\n        [`${componentCls}-inner`]: {\n          [`${switchInnerCls}-checked`]: {\n            marginInlineStart: `calc(${token.switchInnerMarginMinSM}px - 100% + ${token.switchPinSizeSM + token.switchPadding * 2}px)`,\n            marginInlineEnd: `calc(${token.switchInnerMarginMaxSM}px + 100% - ${token.switchPinSizeSM + token.switchPadding * 2}px)`\n          },\n          [`${switchInnerCls}-unchecked`]: {\n            marginTop: -token.switchHeightSM,\n            marginInlineStart: token.switchInnerMarginMaxSM,\n            marginInlineEnd: token.switchInnerMarginMinSM\n          }\n        },\n        [`${componentCls}-handle`]: {\n          width: token.switchPinSizeSM,\n          height: token.switchPinSizeSM\n        },\n        [`${componentCls}-loading-icon`]: {\n          top: (token.switchPinSizeSM - token.switchLoadingIconSize) / 2,\n          fontSize: token.switchLoadingIconSize\n        },\n        [`&${componentCls}-checked`]: {\n          [`${componentCls}-inner`]: {\n            [`${switchInnerCls}-checked`]: {\n              marginInlineStart: token.switchInnerMarginMinSM,\n              marginInlineEnd: token.switchInnerMarginMaxSM\n            },\n            [`${switchInnerCls}-unchecked`]: {\n              marginInlineStart: `calc(${token.switchInnerMarginMaxSM}px + 100% - ${token.switchPinSizeSM + token.switchPadding * 2}px)`,\n              marginInlineEnd: `calc(${token.switchInnerMarginMinSM}px - 100% + ${token.switchPinSizeSM + token.switchPadding * 2}px)`\n            }\n          },\n          [`${componentCls}-handle`]: {\n            insetInlineStart: `calc(100% - ${token.switchPinSizeSM + token.switchPadding}px)`\n          }\n        },\n        [`&:not(${componentCls}-disabled):active`]: {\n          [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {\n            [`${switchInnerCls}-unchecked`]: {\n              marginInlineStart: token.switchInnerMarginMaxSM + token.marginXXS / 2,\n              marginInlineEnd: token.switchInnerMarginMinSM - token.marginXXS / 2\n            }\n          },\n          [`&${componentCls}-checked ${switchInnerCls}`]: {\n            [`${switchInnerCls}-checked`]: {\n              marginInlineStart: token.switchInnerMarginMinSM - token.marginXXS / 2,\n              marginInlineEnd: token.switchInnerMarginMaxSM + token.marginXXS / 2\n            }\n          }\n        }\n      }\n    }\n  };\n};\nconst genSwitchLoadingStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [componentCls]: {\n      [`${componentCls}-loading-icon${token.iconCls}`]: {\n        position: 'relative',\n        top: (token.switchPinSize - token.fontSize) / 2,\n        color: token.switchLoadingIconColor,\n        verticalAlign: 'top'\n      },\n      [`&${componentCls}-checked ${componentCls}-loading-icon`]: {\n        color: token.switchColor\n      }\n    }\n  };\n};\nconst genSwitchHandleStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const switchHandleCls = `${componentCls}-handle`;\n  return {\n    [componentCls]: {\n      [switchHandleCls]: {\n        position: 'absolute',\n        top: token.switchPadding,\n        insetInlineStart: token.switchPadding,\n        width: token.switchPinSize,\n        height: token.switchPinSize,\n        transition: `all ${token.switchDuration} ease-in-out`,\n        '&::before': {\n          position: 'absolute',\n          top: 0,\n          insetInlineEnd: 0,\n          bottom: 0,\n          insetInlineStart: 0,\n          backgroundColor: token.colorWhite,\n          borderRadius: token.switchPinSize / 2,\n          boxShadow: token.switchHandleShadow,\n          transition: `all ${token.switchDuration} ease-in-out`,\n          content: '\"\"'\n        }\n      },\n      [`&${componentCls}-checked ${switchHandleCls}`]: {\n        insetInlineStart: `calc(100% - ${token.switchPinSize + token.switchPadding}px)`\n      },\n      [`&:not(${componentCls}-disabled):active`]: {\n        [`${switchHandleCls}::before`]: {\n          insetInlineEnd: token.switchHandleActiveInset,\n          insetInlineStart: 0\n        },\n        [`&${componentCls}-checked ${switchHandleCls}::before`]: {\n          insetInlineEnd: 0,\n          insetInlineStart: token.switchHandleActiveInset\n        }\n      }\n    }\n  };\n};\nconst genSwitchInnerStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const switchInnerCls = `${componentCls}-inner`;\n  return {\n    [componentCls]: {\n      [switchInnerCls]: {\n        display: 'block',\n        overflow: 'hidden',\n        borderRadius: 100,\n        height: '100%',\n        [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: {\n          display: 'block',\n          color: token.colorTextLightSolid,\n          fontSize: token.fontSizeSM,\n          transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`,\n          pointerEvents: 'none'\n        },\n        [`${switchInnerCls}-checked`]: {\n          marginInlineStart: `calc(${token.switchInnerMarginMin}px - 100% + ${token.switchPinSize + token.switchPadding * 2}px)`,\n          marginInlineEnd: `calc(${token.switchInnerMarginMax}px + 100% - ${token.switchPinSize + token.switchPadding * 2}px)`\n        },\n        [`${switchInnerCls}-unchecked`]: {\n          marginTop: -token.switchHeight,\n          marginInlineStart: token.switchInnerMarginMax,\n          marginInlineEnd: token.switchInnerMarginMin\n        }\n      },\n      [`&${componentCls}-checked ${switchInnerCls}`]: {\n        [`${switchInnerCls}-checked`]: {\n          marginInlineStart: token.switchInnerMarginMin,\n          marginInlineEnd: token.switchInnerMarginMax\n        },\n        [`${switchInnerCls}-unchecked`]: {\n          marginInlineStart: `calc(${token.switchInnerMarginMax}px + 100% - ${token.switchPinSize + token.switchPadding * 2}px)`,\n          marginInlineEnd: `calc(${token.switchInnerMarginMin}px - 100% + ${token.switchPinSize + token.switchPadding * 2}px)`\n        }\n      },\n      [`&:not(${componentCls}-disabled):active`]: {\n        [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {\n          [`${switchInnerCls}-unchecked`]: {\n            marginInlineStart: token.switchInnerMarginMax + token.switchPadding * 2,\n            marginInlineEnd: token.switchInnerMarginMin - token.switchPadding * 2\n          }\n        },\n        [`&${componentCls}-checked ${switchInnerCls}`]: {\n          [`${switchInnerCls}-checked`]: {\n            marginInlineStart: token.switchInnerMarginMin - token.switchPadding * 2,\n            marginInlineEnd: token.switchInnerMarginMax + token.switchPadding * 2\n          }\n        }\n      }\n    }\n  };\n};\nconst genSwitchStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), {\n      position: 'relative',\n      display: 'inline-block',\n      boxSizing: 'border-box',\n      minWidth: token.switchMinWidth,\n      height: token.switchHeight,\n      lineHeight: `${token.switchHeight}px`,\n      verticalAlign: 'middle',\n      background: token.colorTextQuaternary,\n      border: '0',\n      borderRadius: 100,\n      cursor: 'pointer',\n      transition: `all ${token.motionDurationMid}`,\n      userSelect: 'none',\n      [`&:hover:not(${componentCls}-disabled)`]: {\n        background: token.colorTextTertiary\n      }\n    }), genFocusStyle(token)), {\n      [`&${componentCls}-checked`]: {\n        background: token.switchColor,\n        [`&:hover:not(${componentCls}-disabled)`]: {\n          background: token.colorPrimaryHover\n        }\n      },\n      [`&${componentCls}-loading, &${componentCls}-disabled`]: {\n        cursor: 'not-allowed',\n        opacity: token.switchDisabledOpacity,\n        '*': {\n          boxShadow: 'none',\n          cursor: 'not-allowed'\n        }\n      },\n      // rtl style\n      [`&${componentCls}-rtl`]: {\n        direction: 'rtl'\n      }\n    })\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Switch', token => {\n  const switchHeight = token.fontSize * token.lineHeight;\n  const switchHeightSM = token.controlHeight / 2;\n  const switchPadding = 2; // This is magic\n  const switchPinSize = switchHeight - switchPadding * 2;\n  const switchPinSizeSM = switchHeightSM - switchPadding * 2;\n  const switchToken = mergeToken(token, {\n    switchMinWidth: switchPinSize * 2 + switchPadding * 4,\n    switchHeight,\n    switchDuration: token.motionDurationMid,\n    switchColor: token.colorPrimary,\n    switchDisabledOpacity: token.opacityLoading,\n    switchInnerMarginMin: switchPinSize / 2,\n    switchInnerMarginMax: switchPinSize + switchPadding + switchPadding * 2,\n    switchPadding,\n    switchPinSize,\n    switchBg: token.colorBgContainer,\n    switchMinWidthSM: switchPinSizeSM * 2 + switchPadding * 2,\n    switchHeightSM,\n    switchInnerMarginMinSM: switchPinSizeSM / 2,\n    switchInnerMarginMaxSM: switchPinSizeSM + switchPadding + switchPadding * 2,\n    switchPinSizeSM,\n    switchHandleShadow: `0 2px 4px 0 ${new TinyColor('#00230b').setAlpha(0.2).toRgbString()}`,\n    switchLoadingIconSize: token.fontSizeIcon * 0.75,\n    switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`,\n    switchHandleActiveInset: '-30%'\n  });\n  return [genSwitchStyle(switchToken),\n  // inner style\n  genSwitchInnerStyle(switchToken),\n  // handle style\n  genSwitchHandleStyle(switchToken),\n  // loading style\n  genSwitchLoadingStyle(switchToken),\n  // small style\n  genSwitchSmallStyle(switchToken)];\n});","map":{"version":3,"names":["TinyColor","genComponentStyleHook","mergeToken","genFocusStyle","resetComponent","genSwitchSmallStyle","token","componentCls","switchInnerCls","minWidth","switchMinWidthSM","height","switchHeightSM","lineHeight","marginInlineStart","switchInnerMarginMinSM","switchPinSizeSM","switchPadding","marginInlineEnd","switchInnerMarginMaxSM","marginTop","width","top","switchLoadingIconSize","fontSize","insetInlineStart","marginXXS","genSwitchLoadingStyle","iconCls","position","switchPinSize","color","switchLoadingIconColor","verticalAlign","switchColor","genSwitchHandleStyle","switchHandleCls","transition","switchDuration","insetInlineEnd","bottom","backgroundColor","colorWhite","borderRadius","boxShadow","switchHandleShadow","content","switchHandleActiveInset","genSwitchInnerStyle","display","overflow","colorTextLightSolid","fontSizeSM","pointerEvents","switchInnerMarginMin","switchInnerMarginMax","switchHeight","genSwitchStyle","Object","assign","boxSizing","switchMinWidth","background","colorTextQuaternary","border","cursor","motionDurationMid","userSelect","colorTextTertiary","colorPrimaryHover","opacity","switchDisabledOpacity","direction","controlHeight","switchToken","colorPrimary","opacityLoading","switchBg","colorBgContainer","setAlpha","toRgbString","fontSizeIcon"],"sources":["/data/messenger.client/node_modules/antd/es/switch/style/index.js"],"sourcesContent":["import { TinyColor } from '@ctrl/tinycolor';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { genFocusStyle, resetComponent } from '../../style';\nconst genSwitchSmallStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const switchInnerCls = `${componentCls}-inner`;\n  return {\n    [componentCls]: {\n      [`&${componentCls}-small`]: {\n        minWidth: token.switchMinWidthSM,\n        height: token.switchHeightSM,\n        lineHeight: `${token.switchHeightSM}px`,\n        [`${componentCls}-inner`]: {\n          [`${switchInnerCls}-checked`]: {\n            marginInlineStart: `calc(${token.switchInnerMarginMinSM}px - 100% + ${token.switchPinSizeSM + token.switchPadding * 2}px)`,\n            marginInlineEnd: `calc(${token.switchInnerMarginMaxSM}px + 100% - ${token.switchPinSizeSM + token.switchPadding * 2}px)`\n          },\n          [`${switchInnerCls}-unchecked`]: {\n            marginTop: -token.switchHeightSM,\n            marginInlineStart: token.switchInnerMarginMaxSM,\n            marginInlineEnd: token.switchInnerMarginMinSM\n          }\n        },\n        [`${componentCls}-handle`]: {\n          width: token.switchPinSizeSM,\n          height: token.switchPinSizeSM\n        },\n        [`${componentCls}-loading-icon`]: {\n          top: (token.switchPinSizeSM - token.switchLoadingIconSize) / 2,\n          fontSize: token.switchLoadingIconSize\n        },\n        [`&${componentCls}-checked`]: {\n          [`${componentCls}-inner`]: {\n            [`${switchInnerCls}-checked`]: {\n              marginInlineStart: token.switchInnerMarginMinSM,\n              marginInlineEnd: token.switchInnerMarginMaxSM\n            },\n            [`${switchInnerCls}-unchecked`]: {\n              marginInlineStart: `calc(${token.switchInnerMarginMaxSM}px + 100% - ${token.switchPinSizeSM + token.switchPadding * 2}px)`,\n              marginInlineEnd: `calc(${token.switchInnerMarginMinSM}px - 100% + ${token.switchPinSizeSM + token.switchPadding * 2}px)`\n            }\n          },\n          [`${componentCls}-handle`]: {\n            insetInlineStart: `calc(100% - ${token.switchPinSizeSM + token.switchPadding}px)`\n          }\n        },\n        [`&:not(${componentCls}-disabled):active`]: {\n          [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {\n            [`${switchInnerCls}-unchecked`]: {\n              marginInlineStart: token.switchInnerMarginMaxSM + token.marginXXS / 2,\n              marginInlineEnd: token.switchInnerMarginMinSM - token.marginXXS / 2\n            }\n          },\n          [`&${componentCls}-checked ${switchInnerCls}`]: {\n            [`${switchInnerCls}-checked`]: {\n              marginInlineStart: token.switchInnerMarginMinSM - token.marginXXS / 2,\n              marginInlineEnd: token.switchInnerMarginMaxSM + token.marginXXS / 2\n            }\n          }\n        }\n      }\n    }\n  };\n};\nconst genSwitchLoadingStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [componentCls]: {\n      [`${componentCls}-loading-icon${token.iconCls}`]: {\n        position: 'relative',\n        top: (token.switchPinSize - token.fontSize) / 2,\n        color: token.switchLoadingIconColor,\n        verticalAlign: 'top'\n      },\n      [`&${componentCls}-checked ${componentCls}-loading-icon`]: {\n        color: token.switchColor\n      }\n    }\n  };\n};\nconst genSwitchHandleStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const switchHandleCls = `${componentCls}-handle`;\n  return {\n    [componentCls]: {\n      [switchHandleCls]: {\n        position: 'absolute',\n        top: token.switchPadding,\n        insetInlineStart: token.switchPadding,\n        width: token.switchPinSize,\n        height: token.switchPinSize,\n        transition: `all ${token.switchDuration} ease-in-out`,\n        '&::before': {\n          position: 'absolute',\n          top: 0,\n          insetInlineEnd: 0,\n          bottom: 0,\n          insetInlineStart: 0,\n          backgroundColor: token.colorWhite,\n          borderRadius: token.switchPinSize / 2,\n          boxShadow: token.switchHandleShadow,\n          transition: `all ${token.switchDuration} ease-in-out`,\n          content: '\"\"'\n        }\n      },\n      [`&${componentCls}-checked ${switchHandleCls}`]: {\n        insetInlineStart: `calc(100% - ${token.switchPinSize + token.switchPadding}px)`\n      },\n      [`&:not(${componentCls}-disabled):active`]: {\n        [`${switchHandleCls}::before`]: {\n          insetInlineEnd: token.switchHandleActiveInset,\n          insetInlineStart: 0\n        },\n        [`&${componentCls}-checked ${switchHandleCls}::before`]: {\n          insetInlineEnd: 0,\n          insetInlineStart: token.switchHandleActiveInset\n        }\n      }\n    }\n  };\n};\nconst genSwitchInnerStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const switchInnerCls = `${componentCls}-inner`;\n  return {\n    [componentCls]: {\n      [switchInnerCls]: {\n        display: 'block',\n        overflow: 'hidden',\n        borderRadius: 100,\n        height: '100%',\n        [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: {\n          display: 'block',\n          color: token.colorTextLightSolid,\n          fontSize: token.fontSizeSM,\n          transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`,\n          pointerEvents: 'none'\n        },\n        [`${switchInnerCls}-checked`]: {\n          marginInlineStart: `calc(${token.switchInnerMarginMin}px - 100% + ${token.switchPinSize + token.switchPadding * 2}px)`,\n          marginInlineEnd: `calc(${token.switchInnerMarginMax}px + 100% - ${token.switchPinSize + token.switchPadding * 2}px)`\n        },\n        [`${switchInnerCls}-unchecked`]: {\n          marginTop: -token.switchHeight,\n          marginInlineStart: token.switchInnerMarginMax,\n          marginInlineEnd: token.switchInnerMarginMin\n        }\n      },\n      [`&${componentCls}-checked ${switchInnerCls}`]: {\n        [`${switchInnerCls}-checked`]: {\n          marginInlineStart: token.switchInnerMarginMin,\n          marginInlineEnd: token.switchInnerMarginMax\n        },\n        [`${switchInnerCls}-unchecked`]: {\n          marginInlineStart: `calc(${token.switchInnerMarginMax}px + 100% - ${token.switchPinSize + token.switchPadding * 2}px)`,\n          marginInlineEnd: `calc(${token.switchInnerMarginMin}px - 100% + ${token.switchPinSize + token.switchPadding * 2}px)`\n        }\n      },\n      [`&:not(${componentCls}-disabled):active`]: {\n        [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {\n          [`${switchInnerCls}-unchecked`]: {\n            marginInlineStart: token.switchInnerMarginMax + token.switchPadding * 2,\n            marginInlineEnd: token.switchInnerMarginMin - token.switchPadding * 2\n          }\n        },\n        [`&${componentCls}-checked ${switchInnerCls}`]: {\n          [`${switchInnerCls}-checked`]: {\n            marginInlineStart: token.switchInnerMarginMin - token.switchPadding * 2,\n            marginInlineEnd: token.switchInnerMarginMax + token.switchPadding * 2\n          }\n        }\n      }\n    }\n  };\n};\nconst genSwitchStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), {\n      position: 'relative',\n      display: 'inline-block',\n      boxSizing: 'border-box',\n      minWidth: token.switchMinWidth,\n      height: token.switchHeight,\n      lineHeight: `${token.switchHeight}px`,\n      verticalAlign: 'middle',\n      background: token.colorTextQuaternary,\n      border: '0',\n      borderRadius: 100,\n      cursor: 'pointer',\n      transition: `all ${token.motionDurationMid}`,\n      userSelect: 'none',\n      [`&:hover:not(${componentCls}-disabled)`]: {\n        background: token.colorTextTertiary\n      }\n    }), genFocusStyle(token)), {\n      [`&${componentCls}-checked`]: {\n        background: token.switchColor,\n        [`&:hover:not(${componentCls}-disabled)`]: {\n          background: token.colorPrimaryHover\n        }\n      },\n      [`&${componentCls}-loading, &${componentCls}-disabled`]: {\n        cursor: 'not-allowed',\n        opacity: token.switchDisabledOpacity,\n        '*': {\n          boxShadow: 'none',\n          cursor: 'not-allowed'\n        }\n      },\n      // rtl style\n      [`&${componentCls}-rtl`]: {\n        direction: 'rtl'\n      }\n    })\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Switch', token => {\n  const switchHeight = token.fontSize * token.lineHeight;\n  const switchHeightSM = token.controlHeight / 2;\n  const switchPadding = 2; // This is magic\n  const switchPinSize = switchHeight - switchPadding * 2;\n  const switchPinSizeSM = switchHeightSM - switchPadding * 2;\n  const switchToken = mergeToken(token, {\n    switchMinWidth: switchPinSize * 2 + switchPadding * 4,\n    switchHeight,\n    switchDuration: token.motionDurationMid,\n    switchColor: token.colorPrimary,\n    switchDisabledOpacity: token.opacityLoading,\n    switchInnerMarginMin: switchPinSize / 2,\n    switchInnerMarginMax: switchPinSize + switchPadding + switchPadding * 2,\n    switchPadding,\n    switchPinSize,\n    switchBg: token.colorBgContainer,\n    switchMinWidthSM: switchPinSizeSM * 2 + switchPadding * 2,\n    switchHeightSM,\n    switchInnerMarginMinSM: switchPinSizeSM / 2,\n    switchInnerMarginMaxSM: switchPinSizeSM + switchPadding + switchPadding * 2,\n    switchPinSizeSM,\n    switchHandleShadow: `0 2px 4px 0 ${new TinyColor('#00230b').setAlpha(0.2).toRgbString()}`,\n    switchLoadingIconSize: token.fontSizeIcon * 0.75,\n    switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`,\n    switchHandleActiveInset: '-30%'\n  });\n  return [genSwitchStyle(switchToken),\n  // inner style\n  genSwitchInnerStyle(switchToken),\n  // handle style\n  genSwitchHandleStyle(switchToken),\n  // loading style\n  genSwitchLoadingStyle(switchToken),\n  // small style\n  genSwitchSmallStyle(switchToken)];\n});"],"mappings":"AAAA,SAASA,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE,SAASC,aAAa,EAAEC,cAAc,QAAQ,aAAa;AAC3D,MAAMC,mBAAmB,GAAGC,KAAK,IAAI;EACnC,MAAM;IACJC;EACF,CAAC,GAAGD,KAAK;EACT,MAAME,cAAc,GAAI,GAAED,YAAa,QAAO;EAC9C,OAAO;IACL,CAACA,YAAY,GAAG;MACd,CAAE,IAAGA,YAAa,QAAO,GAAG;QAC1BE,QAAQ,EAAEH,KAAK,CAACI,gBAAgB;QAChCC,MAAM,EAAEL,KAAK,CAACM,cAAc;QAC5BC,UAAU,EAAG,GAAEP,KAAK,CAACM,cAAe,IAAG;QACvC,CAAE,GAAEL,YAAa,QAAO,GAAG;UACzB,CAAE,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